|
|
<DIV id=list>
# N2 p4 k) G2 ?; I% r: H6 r<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>' ?* b, J5 X# C( B# O
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>( U, F* I+ F; M, ^! t/ H6 a
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
. T/ |) Q$ v- ?<DIV id=lrc3 style="COLOR: #666666"></DIV>
& J% j. M, J2 E+ u9 Y- h: Z<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>! l" b% ^/ E2 f* d7 j
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>+ H& C$ l; s H( C; d
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>7 e( ^" X. S7 p
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
x) [/ w' z- s! }<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
3 s4 B1 ^$ y0 c* j/ R<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
5 U) t! c n4 ]7 N5 u$ q<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
, u5 x0 D8 Y7 ^<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>
# G) Y. t6 Y: J- M; ^; B! z<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>1 X4 U; }9 x1 b4 }9 ^
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
: s! z7 f4 t h2 r<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
* V; {0 i5 `6 N3 d: L1 l<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV># R! u4 f, f) e4 Q( J1 r
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>* D6 Q! Q8 v3 @1 p$ P4 m+ _
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>+ i1 l- r& w) x+ ]$ a" q
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
* \ A* N' O, U4 H6 k: N<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>/ }' b1 P! Q* }% m) B: s; K
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
: q1 g U! R, r) p1 u- \<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>
4 P: b0 H! W; ]0 e0 S5 @ ~* [: |<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
/ O# z: Z, U9 }<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
6 c" `+ U4 ~, B<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
# \+ Q: b9 O$ z! {% \8 K2 E<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
0 E3 h% c3 Y5 W/ m' f0 Q: O/ S<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
( u7 h# V N* ?: n, p<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
1 \& b2 w& @- V. b3 l, l& Q4 r3 i<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>2 K" T! I/ i: A* y
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>9 K! |( h$ f( X! M6 N" h
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>% O; g/ ^7 S, C3 e/ I8 g8 Y
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>: @5 s8 q& C3 N! b
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>! ]0 `% \7 P2 v1 [. f
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>% e' |% `, M5 P1 ^ J, ^. n
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>8 P* \1 c [+ B; n3 U
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>4 B) s! ^- ]8 m% p' T3 d
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
8 o( R) U/ w8 R7 k: z<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>5 a% o1 v- `$ j0 Z
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV> M0 }' A! z0 O
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
4 s: e% J" U& ~, l1 r: [1 w<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
% J, L4 m0 \; G( X<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>! ?0 \. z- T9 o3 O
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
1 M! K8 p$ v! Z$ W5 @<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
! f0 \1 O6 z! a<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
' J' k. W" K" Y4 W2 `( z# b% X& B+ f<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>& i( W: }2 ?. Z! S6 c$ w
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
$ |- N8 l* H1 [<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>6 o# z$ z* z0 h6 e$ {% D
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>" d( ~& H, _$ F& O! u4 o- u
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>' X% V% H; }- V" r! `% b
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>! S9 l& K/ e/ {
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>7 ^9 O2 w g! i7 q9 c$ E
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
( q7 u- ?/ J5 j/ J/ v* B<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 3 Y# B( c. t1 V, [5 k
<DIV id=lrc style="DISPLAY: none"></DIV>
! D3 c5 N. q7 {5 K<SCRIPT type=text/javascript>, y9 u4 o- M- z* U! w
document.domain="1ting.com";
* L; Q, [0 b/ A, {var colorPasted="#666666";
% J" B* Y( D* [ ^) ?/ S# O* Uvar colorPlaying="#ff3300";
3 l' }9 \% Y' j& [( ?var colorNormal="#000000";( c, S: I4 f4 e
$ = function (a,g){- j3 q+ J6 S4 C8 E
var o = new Array();
+ ~: {5 @! y/ r' s/ i& J* y var c = new Array();
4 v% t* x1 H' I7 A$ j: f2 [ var r;
2 Q$ R* W" l* i2 [" h var u;
# K+ {% a7 I1 J var a = a.split(';');
2 @; \' ]& q/ T
9 c3 Q& y; f9 {$ ^, f: @ var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");3 U" g4 m- [7 V$ _/ U* T4 g
for(var i=0;i<e.length;i++){5 a0 S+ |2 D" l' J/ O
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")8 M6 ^% w2 }- ] [
}
. |( p. f4 Z3 ]/ E( g
% ?% z+ F3 }* Y# o& l after = function (t,d,s){
- b7 ]) F' Q/ U$ T8 ] $after = function (){* U9 n k. p* `# w1 { `; I
var $n=document.createElement(t);
9 B7 z: i6 z1 D! j& S9 R if(d!=null){$ c8 m- o2 |, W# O0 k& d
$n.id=d;
6 }; \1 A+ c* u: ? }- M" c: j1 T4 |# E
; Y, K& ?& f2 U7 g u.insertBefore($n,null)
* \$ b+ I5 o* `5 B( l r = $n;
4 R3 V! Y8 E$ n$ U, L u = $n;
8 _. y8 X) N/ h3 V4 A9 f }5 C( ?* R5 k0 ?, N- F5 _
$for(s,"$after")& m2 p% i8 d/ }# K- J
}
8 c+ Q. y) D* X |% v
& F6 v" F+ Q" r6 Y1 k show = function (s){$ {5 ]( ?5 K& x J4 E/ A# ?* x% N
$show = function (){
; m* U& Q! Z, j( D# m u.style.display!="none" ? style("display:none") : style("display:block") ;
) R# G9 c& K2 d! ]/ w/ M }
6 ?! c, S0 E0 D1 m$ i5 Z $for(s,"$show")' y! D2 `& q( [- F+ q4 H/ B, l
}
' E' g0 y: D& H( V2 Y6 J
9 e1 v8 K& k1 X; S check = function (t,s){. v; p# j/ i2 V2 h A# z% ?
$check = function (){- U3 A4 z5 V6 g" {! R
if(t=="2"){2 V: C/ S9 l2 O& n2 r/ @! |' W
if(u.checked){7 S; g' u/ y: a( x- m F
u.checked = false;
. ]4 H. o' w. H" ^; y/ d }else{( q$ p- X) a9 H, }, h
u.checked = true;) { U! m6 c! c
}
6 H: m& i1 y0 |6 S4 x2 K }else{
4 z3 \: ^' p/ K$ e7 Q. V. @, L u.checked = t*1 ;
, x+ Z" p2 @6 @% C3 j+ u }
% z5 `* i- @& ]' J1 C0 m; Y D }
# a9 J6 r0 Y' M2 u9 L $for(s,"$check")3 w! e% g* N0 y6 m
}
; Z* S, y$ x: @2 K2 a! Z; T- v% z/ o, |
style = function (v,s){
* y; k( f$ V* u, A3 j5 H $style = function (){
. B# B Q6 F/ k- n; x var $n = v.split(",")
. ~0 s0 E' c0 } for (var i=0;i<$n.length;i++ ){* S' t/ [% B' d) {1 x
var $m = $n<i>.split(":") , Z: h6 r7 p0 _; ~& y; ~! Z" ?. Z
eval("u.style."+$m[0]+"='"+$m[1]+"'");
+ z% Q: V s* X# O$ z9 E }; T% t9 b8 k' ^# Q7 s7 k
}
+ r/ i( v) A' s $for(s,"$style")$ F t5 _7 ]. Y {" z# p% K. `
}
8 O" n" L* ?* h2 x
, E" x9 J/ g3 S' _; B% r: b% V& h value = function (v,s){
% x: \# g# Z+ T var $n= $this (v);
- H' n: Q1 I3 \+ d7 d5 y, p) C# F# R* a $value = function (){# K4 S4 X4 t8 U
u.value = $n5 j* |2 [& [4 t* W/ u+ b
}3 q8 v3 {. P0 G, ~2 c% r
$for(s,"$value") 8 A7 Y6 x; Q4 ~* }. [
}9 N9 ~; d9 r/ j( U9 P) w- u9 T
6 w+ c P4 A1 _( o5 v
text = function (v,s){
. `# F9 Z* }3 b6 ?1 r. x/ z( X var $n= $this (v);
& z8 t5 E) t9 V% ^2 M& q $text = function (){
1 J8 C7 P& B5 L7 U 8 [+ g" r1 i U" H) G: x- R
u.text = $n
: Z: t0 c& h8 y; z) S6 y }# ~1 A* B1 W2 l" K" X- V
$for(s,"$text") " X# j5 e0 N8 D# k; [
}
2 b- F/ V" G) i% ~6 A
3 f# f" k2 x/ l% q! Y; k innerhtml = function (v,s){& w, L4 q" p) ~( T
var $n= $this (v);; a+ x* d2 `6 J) ?. B
$innerhtml = function (){
5 Z0 e; g4 C$ l7 h1 q- X u.innerHTML = $n
: e- h9 \6 } R }
9 l3 d8 W1 Y7 n $for(s,"$innerhtml")! X& W8 x- X0 V X( D
}
7 @7 B) M% r7 z$ T/ E* E 8 j3 t! d {* ]) V
removechild = function (s){
8 d9 ^' R( ~% ]' t $removechild = function (){; y' \6 F) D$ H2 E
u.parentNode.removeChild(u)( ~9 t. \; |3 p0 J. u9 \* R
}
9 S/ x9 z$ Y. A( U! w3 O$ [ $for(s,"$removechild")
" l7 W' j' T" k8 n; K }; c/ E3 ?" ?7 u( ]! @
6 T7 `8 d2 S4 t9 D $this =function(v){
6 x6 k7 J- L( b$ |+ I$ N$ V8 V6 i if(v.indexOf("this") == 0){ M. ?, k- l5 l6 y/ [
return eval(v.replace("this","u"))
9 {) D7 r3 l. x& Z U8 P2 P }
* S* |" q: A/ j( w2 x8 X return v;6 _$ _: M/ h' t* ^( J6 q% `
}8 l+ x0 F5 u* I$ U8 i; i" S' j
% V/ e/ q1 s a7 i4 d$ P; P $event = function (s){5 ]; Z3 Y4 y2 \' C# S
var $n ="u."+s+" = function(){$work(this,s);}"; z& e+ k: L; k0 k+ B
return $n;
, p, J/ k3 W, J }
- K+ M l3 f. @* t% n- {) b* q8 u) @3 e
$replace = function (s){
6 z1 O: L) S0 Z% `: j' n1 D$ u% \) E) o$ @+ @9 {, W7 X+ l( m! W8 M
}; r. P; F4 B2 i
+ ]9 [: b! O6 H7 J+ \! F $for = function (s,c){6 o: b/ @7 x6 Y: Y: G: H7 u4 V; w0 \
var $n="this."+c+"()" ;
. m# L7 g9 }* S# G if(s!=null){
( F" |0 R/ S. j var $m =$test(s);
6 p4 }, k) c3 q; F: a; T for (var i=0;i<$m.length ;i++ ){
& Z. `( z' |% ]6 g7 {7 q u = $m<i>;; z! X$ M# w# }% {
eval($n);6 g9 D* R3 a- U! @# I
}- ^ f, P2 U5 N4 x) y& e
}
S" o7 L3 Z& r; ^( d. D( d. @7 e: g else{: \& h ~. N6 B% E
eval($n);
( F2 h" C& V( T9 V! | }
5 F# e9 r0 W9 _. X- j }
$ M. I3 @) X/ J0 d: l 8 L6 x& I" `2 m/ }8 v& I% i' v
$test = function (a){/ o' `, p- B! F6 s( U
var o = new Array();$o(a.split(';'),o);" T- v' j7 V, x" W
return o;2 F2 ` V+ t, y6 }) `1 D6 O' h
}% b5 X( M) c$ P/ N
; m c3 A( K3 }0 g w $format = function(s){
& H; O5 }9 ?1 h2 f; L- W4 A% M& q while (s.indexOf("'")>0){
) n# @/ d) d+ L, E# y s=s.replace("'","\"");& T1 Z* S0 m' c/ f
}
' h) N0 b) a7 P$ i: q, l+ i while (s.indexOf("][")>0){
' Y N. s* Y% J8 p' E" a) ~ s=s.replace("][","','")! [' M4 y+ M2 q* {8 ]2 t
}& f7 J7 D( E/ c9 e8 }
while (s.indexOf("[")>0){
2 K3 d+ y8 R8 p' ^# i s=s.replace("[","'").replace("]","'")
, Z' k( x# w' w. j; g }
* z3 G# Z' t9 a return s;
$ B/ i. A, ?0 o& `# m3 ] }
- e# i5 k- o8 ^, `8 l' ?+ N
# H3 }/ Q& R( N0 p$ Z/ C+ J( ^ $work = function(w,s){+ V7 S9 P" W7 Y; `
u=w;eval(s)2 @2 T* v7 T6 Z1 ^; t
}
" R0 I& ~8 ~% U7 o1 v$ u- C9 g; t q1 U: ~
$id = function (s){
. Q5 k: C0 Z$ u$ p+ S) M return document.getElementById(s);
* F9 ]- Q9 n% u% B$ h' l }1 V! q6 y5 Z( {! E. z
- H, f" L% z" U: u7 T$ ` $name = function (s){3 t& V1 e8 U. ~$ X0 ~ d3 N
return document.getElementsByName(s);
- [4 k# w( `: k; |8 e5 ^3 k5 Z% z }
- Z' z! [: t+ H8 b1 }( @. S) R
1 {4 I: P) B& L+ D! `2 M $tagname = function (s){
9 h& \8 K& P( d3 X1 `0 t5 R return document.getElementsByTagName(s);5 E2 x. d; ?9 w+ Z% O
}
9 I1 S7 P3 S- o" ?* P; d! l! o8 Q. P7 m) b+ S
$o = function (a,o,c){
- Q |/ U( b2 c' [% d" m $push = function (n) {
2 d+ D4 O& |; ]* X7 G for (var i=0;i< n.length;i++ ){+ {# T6 ]* M0 U7 N
o.push(n<i>);
# q! J2 M2 f( w& [1 O } * g& z. [2 I4 m/ k+ ?# |+ P
}9 l. U2 M( s0 N* {6 C3 n2 W' {. ~# a
for(var i=0;i<a.length;i++){
2 R/ ]) `/ ]& P- f( W; G if(a<i>.indexOf("(") >= 0){
" p, `# Y* E9 j4 k. ]+ [+ d1 D c.push(a<i>);6 J4 {, O. E: Z
}6 Z. I+ g9 f% j. l" h2 r% T% K$ l. @
if(a<i>.indexOf("~") > 0){
7 j. O$ J0 P% \% P- k- i9 b try {& V! n1 j2 O& v( I; k
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));, Z# K0 Y3 {* a5 G3 m% J
}catch(e); O1 l' g6 X7 k7 N; r" H: x
{}
H% d* `9 z: P6 _4 B4 y }7 T) V4 |' W+ n2 [' D
else{- u% K4 U! N+ G# I9 E
if(a<i>.indexOf("#")==0){
! v. s$ {2 p- P% \ o.push($id(a<i>.replace("#","")));
5 I$ V5 _2 `: p7 ?. \ }
: u9 c Y3 P" O4 `+ ] if(a<i>.indexOf(".")==0){
/ q" Y+ p. L& X+ Z4 i $push($name(a<i>.replace(".","")));
0 w& ]" r2 C, y3 X8 O! t2 o }( r! t' d; p6 {5 z
if(a<i>.indexOf("@")==0 ){0 @% X. Z s2 v& k+ Z4 g
$push($tagname(a<i>.replace("@","")));
- g9 ]9 Y. p: n! y1 U% `3 C }
' T1 o9 b* o. O# b% t9 G, P if(a<i>.indexOf("*")==0){5 f& T" Q7 h. b8 Q" e1 t S
$p= a<i>;
- ~$ f+ L0 E4 @/ o9 q3 k if($p.indexOf(".")< 0){
N: p$ V% V& R) h& C i4 N $p = $p.replace("parent","parentNode")5 ]5 A' o# @6 j9 i
}
% v$ v1 N8 ~( H% e7 q" |8 F" x var $p ="u."+$p.replace("*","");9 k8 d' Z2 D" |- Q) v
while ($p.indexOf("parent.")> 0){
3 Z. s* F, n2 @& M $p = $p.replace("parent.","parentNode.")
+ ? I" s& n; m; N* R3 @3 l O }
8 p, h8 b3 s4 E9 ^ while ($p.indexOf("child{")> 0){
4 f7 \# u- X) Y7 S/ d$ e2 i3 U $p = $p.replace("child{","childNodes[").replace("}","]")
; ~3 r* B" I1 s% @7 A7 V+ s# D/ U }
; ~& ?6 J7 j3 C0 b" g o.push(eval($p));
( P9 z9 x2 W7 u: G( S. } }! `* b' d6 ^5 h0 B
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
6 O8 g) h! |9 V& @( l o.push(eval(a<i>));# C, `8 }5 J. ^) O( t4 K
}
6 L; E D0 v. M, B6 ?( X' L3 d# E8 Z }
2 |, s4 F" B* H, ^2 P if(g!=null){ 7 G" b+ I. t7 p6 M$ G3 n
o.push(g);g=null, W; [/ ]0 L( n0 a5 G# W& M/ u
} $ [' X) f' f- W/ [% x K" {3 l
}) k6 I+ d9 L9 f4 k# \& \1 H0 e3 U h" p
}
& ^0 Z' t# b8 m
" n/ }9 Z( i) U $o(a,o,c);
, `* N9 T6 t4 X, O/ W
/ d5 U9 u: w @ for(var i = 0;i<o.length;i++){
7 T- L. k' m+ J for(var j=0;j<c.length;j++){+ C& G+ L. Z! C2 ]
u = o<i>;eval($format(c[j]));
+ s A9 Q" I& S/ L }2 C, }7 E) |# f% p
}$ z+ v* K5 @# w: t
. n; N. j4 X3 g
if(o.length == 0){
) t( ^1 g* |1 A5 m: C2 X for(var i=0;i<c.length;i++){
1 ?. ]4 }7 h& N eval($format(c<i>));) a+ F* U" ] i# x
}
" ~' ?' F0 Y7 j Y$ t$ [) H }
+ H0 P, I6 w& v+ M- f
. U6 k$ e$ u/ `1 b7 p if(r!=null){& t) e: E7 S9 y3 K X
return r;1 U& A1 N" {* X* K5 ?0 |$ @* s' N
}8 d& {! [2 j, p
! V$ ^6 n+ `* `# F \9 u* G) m
if(o.length==1){
) Y" _5 h+ I' a9 D5 j return o[0];
B$ `4 S6 D! _* q6 u8 E }% W. n. Q0 U# U( |* \$ t
else{
4 S; ^( u& p5 b2 f M return o) O/ n0 w3 d9 \
} # Z: U$ r! ^1 I0 X; H' \
' J0 g0 U6 s( F) i X' {
}
; m* `/ R j3 K3 D! U' o$ ] G+ rvar lrc =$("#lrc;show()").innerHTML.split("[");
/ W6 c1 b- L# y. C3 u/ Lif(lrc.length>5){
+ j6 O2 Q3 A0 f, avar array = new Array();( E$ T6 d7 |& f! ]
for (var i=0;i<lrc.length ;i++ ) j3 k( B# R$ z: W* x5 K: b6 u
{
- C1 \4 G" p: |8 P: j j+ Y6 _ var g = new Object();
+ _ a4 c+ I/ }5 S t= lrc<i>.split("]");* n2 ?/ j" Y* B& ~6 a' {
g.time = getTime(t[0]);4 h( r% W2 v6 c Y" K
if(isNaN(g.time))
( p% Q4 e, i' s& f& R) b continue;# k; ?; J: t* z3 b2 a
g.c = t[1];/ z" @% G. @' C) g* O6 K
if(g.c == "")
5 |( K7 `1 p8 y4 v+ X g.c = getNext(i);
8 @& V' P& H; a+ r8 R2 o array.push(g);
h( [+ S. {; V- L5 r}: ^: A" b8 Z6 }) p8 Y
array.sort(function(x, y) {
, S- b# W4 |5 s: e m9 F if (x.time>y.time) - P7 f6 s" |$ T# G# r
return 1;
1 U, ^8 Y& C3 b/ D else if(x.time<y.time)
7 _# B) ?" J8 Y return -1;5 A% H" f: ]' E
else( `4 J8 w) G5 _' d" r/ @# T- P
return 0;
8 D) M7 d$ T( O/ h/ }/ }4 C }
- B+ ^9 h: e1 o0 E' u7 j);
; S2 L( R1 O1 m$ p" j1 qfor(var i = 0;i<array.length;i++)! K1 |: ]4 S3 S$ ?+ e4 z" @5 Y
{8 |3 a2 `% a* F' `& j0 r
var g = array<i>;
4 x" |5 B* h# @( e! q j if(!g.c){
6 b5 P2 C8 d: Z. ?" h g.c="";
6 n6 [. o7 G0 d* n, X }
2 p" J1 O: ~' }# } $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";: ~ b6 v# G8 {$ E/ `5 @' i+ X
}
! |/ {) Q5 o8 q! R9 Avar time = setInterval("lrcList()",500); 1 R- M6 Q; }: }* Y6 l. ?
}else{
- w# B( v$ e5 \, L" c) _7 c $("#list").innerHTML=$("#lrc").innerHTML;3 G0 `: e$ y1 Y
}
$ K8 `2 }- \6 Q& p+ L* I. xfunction getNext(i)& c' i1 A# m9 [; ^. r2 U( Q
{
9 @; z' [, q R- k1 ~. r4 X r var result = "";3 b7 z( ^0 ?1 D6 O& R2 F
var i = i+1;
7 x* x( P6 }. w6 s t = lrc<i>.split("]");4 n t) c1 w( t) H7 d# R
if(t[1]=="")" a- ]+ X3 Z F! ~+ g ^7 [
result = getNext(i);, f8 a# k) i n+ l# c' B6 x# |
else7 t! L# [! z' `: t! J
result = t[1]
/ @1 B5 ~/ C- f+ {+ T return result;
0 D* [& r9 R8 g}
: `; ?3 Y& e3 c$ o) ]1 H) j
1 P8 q; \7 j. @' k" {! Wfunction getTime(str)) y1 U( D. [# [2 a1 L. \1 p
{
) f4 G( p/ M: L& L" W9 u6 X var time =0;
3 z' S3 z6 B2 Z var ta = str.split(":");
) ^: l" V# Y/ k8 H. @ if(ta.length<2)
: _3 ^* U3 T; q, F% [0 W return time;
# T! ?- T3 j! q( ^, I% X% a/ ~: _5 w- C$ I2 Z/ j- ?3 S/ a
if(ta[1].indexOf(".")>0){
- |1 S7 C- k L2 {; H7 E5 v var tb = ta[1].split(".");& \' ~" S2 a; d1 Q2 K$ [3 M/ G
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;! b7 |: _6 v/ y3 ^
}' X% X9 n/ a/ G! q) S2 G' g6 b
else
& T S$ v z9 l% r& u2 ` time =ta[0]*60*1000+ta[1]*1000;8 e* P/ o0 o. b! A; K4 C) s
return time;
, H* c% M U( t% i- J}
. Q" r' P+ h$ D5 Y* ]var preTime = 0;
" b k% s$ L5 m A& ^+ p: Qvar nextTime = 0;
1 O0 q T) L+ x8 b. ]6 zvar currIndex =0;5 {& @/ d- M" O" f U+ P
function lrcList(){9 {0 @( _4 S5 C, H4 P# A( p. _- E
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;$ D( H3 F( h8 \. g
s = s*1000;
$ Y$ Z" f! Q; N4 h if(s==0){
' Z/ C" I7 k" ^5 _5 F currIndex =0;
( n- W2 A& G; @; W \. z1 W: D $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;6 J5 J, e, y$ @( x
for(var i=0;i<array.length;i++){
3 a G7 K; l K0 |8 g0 _ document.getElementById("lrc"+i).style.color=colorNormal;
; L- ^* ?6 N- O, T( E }) P2 @( Q3 e6 h+ Q
return;
# ^1 L% Z% x, I* Y3 g; `; I }
: v5 T4 w1 I b/ Q0 Z8 i5 h if(s>0&&currIndex<array.length-1)7 F" @# ]9 _ W: Z5 o
{
) D% s) l4 L. z) c; { preTime = array[currIndex].time;
( z4 L4 N; T. H* N% { 4 P! W8 j1 v. h7 ?& `$ ~
nextTime = array[currIndex+1].time;
8 B* |! c! b/ h6 W0 h3 y
- L( V% {9 B0 Y if(s>=preTime&&s<nextTime){
; L/ c* ^2 B9 ^8 m" B _- O7 p }
. ^/ i$ e# d" c( i2 n else if(s>=nextTime)0 D9 S$ k8 ]/ X' M
{1 @+ a/ C5 x! a0 s3 m# }+ a, ]
document.getElementById("lrc"+currIndex).style.color=colorPasted;
* _. W) @) ?1 a t- s currIndex++;
# ^7 f/ l$ ~ A% T4 Q9 h $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;# Z2 B6 K h1 T! p) V4 l
document.getElementById("lrc"+currIndex).style.color=colorPlaying;! E$ N- d- h* |, J- t
lrcList();
6 |8 _1 ?& \* S2 i4 K; y9 X! Y4 ~ }
' y1 F3 P1 G7 J3 t5 z) [2 j8 O else{
3 u- O# N/ Y! D, ~6 D8 n( C. ` document.getElementById("lrc"+currIndex).style.color=colorNormal;3 R% f7 B! V3 ` S9 C
currIndex--;
- u/ \& c5 y. u, ? $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;. y$ M0 H* F& l E o/ y
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
" ^0 J: g' F0 o V: n/ [$ H lrcList();! t1 _# B2 G8 Y$ H( f( b
}
5 R5 @. X9 X( @& i+ e }
- S' P9 @+ ?7 t+ ^4 Z else0 Y f) ]: m- E
{) C: a. ]. }5 k
if(s<array[array.length-1].time){9 X0 s0 |% M3 J
currIndex = 0;. j% C2 J: Y0 a( b" H ?
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
* r/ I T" r' @9 f: x for(var i=0;i<array.length;i++){
7 n2 O& V, K1 b3 w document.getElementById("lrc"+i).style.color=colorNormal;
3 N' H9 Z! L7 q) F3 C; B( m7 M }7 i7 [( t* ]4 f
lrcList();
9 K7 ~" ]8 u( r& Q, r8 U/ N }
* F/ Q- ]+ m* v" \+ } }& ]7 K+ Q3 C d% ?2 H" F5 }. @
}6 O4 k" T# X; A" H
</SCRIPT>
7 m' F/ P/ W6 k6 V</DIV></DIV>
; W+ r3 U8 p( }4 e+ {' w6 D( c
8 a4 @4 y2 x) [: G( k[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|